<h4 class="display-6 text-center my-2">Regisztráció</h4>

<div class="row p-4">
    <div class="col-sm-8 offset-sm-2 col-md-6 offset-md-3 col-lg-4 offset-lg-4 hatter">
        
        <form [formGroup]="myform" (ngSubmit)="regisztracioFn(this.myform.value.email, this.myform.value.passwd)">

            <div class="form-group my-2">
                <label for="email" class="form-label">Email</label>
                <input formControlName="email" type="email" name="email" id="email" class="form-control form-control-sm">
            </div>

            <div class="form-group my-2">
                <label for="passwd" class="form-label">Jelszó</label>
                <input formControlName="passwd" type="password" name="passwd" id="passwd" class="form-control form-control-sm">
            </div>

            <div class="form-group my-5">
                <button class="btn btn-sm btn-warning form-control">Regisztrálok</button>
            </div>

        </form>

    </div>
</div>